//
//  MKPolyline+LAOverLayExt.m
//  LAMapBasicDemo
//
//  Created by 罗亮富 on 2017/4/8.
//  Copyright © 2017年 2Bulu. All rights reserved.
//

#import "MKPolyline+LAOverLayExt.h"


@implementation MKPolyline (LAOverLayExt)

-(MKOverlayRenderer *)renderer
{
    MKPolylineRenderer *renderer;
    if(!renderer)
    {
        renderer = [[MKPolylineRenderer alloc]initWithOverlay:self];
#if TARGET_OS_IPHONE
        renderer.strokeColor = [UIColor blueColor];
#else
        renderer.strokeColor = [NSColor blueColor];
#endif
        renderer.lineWidth = 1.0;
    }
    
    return renderer;
}

@end

